package cn.edu.zafu.bigdata.psy;

public class Course {
    private final String courseName;
    private final String courseId;
    private final String teacher;

    public Course(String courseName, String courseId, String teacher) {
        this.courseName = courseName;
        this.courseId = courseId;
        this.teacher = teacher;
    }

    public void print(){
        System.out.println("课程名称: " + courseName);
        System.out.println("课程编号: " + courseId);
        System.out.println("教师: " + teacher);
    }
    public static void main(String[] args) {
        Course Course = new Course("java面向对象程序设计", "123456", "吴鹏");
        Course.print();
    }
}